// 动态加载组件的函数
import {Component} from "react";

export default class DynamicComponent extends Component {
   constructor(props) {
     super(props);
   }
  render() {
    const { component: Com } = this.props
     return(
         <Com />
     )
  }
}
